﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Reporting.WinForms;

namespace VehicleMaintenance.Transaction
{
	public partial class Form1 : Form
	{
		public Form1()
		{
			InitializeComponent();
		}

		private void Form1_Load(object sender, EventArgs e)
		{
			ReportParameter p1 = new ReportParameter("UnitName", "ceshi");
			ReportParameter p2 = new ReportParameter("BeginDate", "1990-01-01");
			ReportParameter p3 = new ReportParameter("CarType", "ceshi");
			ReportParameter p4 = new ReportParameter("CarNO", "ceshi");
			ReportParameter p5 = new ReportParameter("Reception", "ceshi");
			ReportParameter p6 = new ReportParameter("Category", "ceshi");
			ReportParameter p7 = new ReportParameter("TotalPrice", "ceshi");
			ReportParameter p8 = new ReportParameter("Telephone", "ceshi");
			this.reportViewer1.LocalReport.SetParameters(new ReportParameter[] { p1, p2, p3, p4, p5, p6, p7, p8 });
			//this.PurchaseBillBindingSource.DataSource = 
			//this.reportViewer1.RefreshReport();

		}

		private void reportViewer1_Load(object sender, EventArgs e)
		{

		}
	}
}
